@extends("Home.HomePublic.userpublic")
@section('content')
 <div class="am-u-sm-6 am-u-md-8 am-u-lg-9">
            <form class="am-form am-form-horizontal" action="/payed" method="post" >
            	{{csrf_field()}}
            <fieldset>
	          <ul class="am-nav am-nav-tabs am-margin-bottom-lg" style="margin-top:0;">
  	            <li class="am-active"><a href="">充值升级</a></li>
  	            <!-- <li><a href="">点卡充值</a></li> -->
	          </ul>
    		  <div class="am-form-group">
                  <label class="am-fl am-form-label">充值金额</label>
                  <div class="am-u-sm-10">
                     <!-- <label id="type-0" sid="0" class="xuan on">充金币</label> -->
                     <label id="type-1" sid="1" class="xuan">充Vip会员</label>
					 <!-- <input id="type" type="hidden" name="type" value="cion"> -->
                  </div>
    		  </div>
    		  
    		  <div class="am-form-group yue am-hide">
                  <label class="am-fl am-form-label">充值期限</label>
                  <div class="am-u-sm-10">
                  	@foreach($meal as $row)
                    
					 <input type="radio" name="time,price,name" value="{{$row->time}},{{$row->price}},{{$row->name}}">{{$row->name}}
					 <!-- <input type="hidden" name="price" value="{{$row->price}}"> -->
					 <!-- <input type="hidden" name="name" value="{{$row->name}}"> -->

					@endforeach
                  </div>
    		  </div>
    		  <div class="am-form-group">
      		      <label class="am-fl am-form-label">付款方式</label>
				  <div class="am-u-sm-10">
                     <label id="sid-1" sid="0" class="pay alipay on" >支付宝</label>
					 <input id="paysid" type="hidden" name="type" value="alipay">
          </div>


    		  </div>
              <div class="am-form-group">
                <div class="am-u-sm-10 am-u-sm-offset-1">
                  <button type="submit" class="am-btn am-btn-primary">确定充值</button>
                </div>
              </div>
              <div class="am-form-group">
				  <h4>VIP介绍</h4>
				  1、VIP会员可以免费观看所有影视。
              </div>
            </fieldset>
            </form>
        </div>
    </div>
</div>
<!-- <div class="am-modal am-modal-no-btn am-modal-active" id="weixin">
  <div class="am-modal-dialog" style="width:350px;height:260px;">
    <div class="am-modal-hd">扫码在线支付
      <a href="javascript:void(0)" class="am-close am-close-spin" data-am-modal-close="">×</a>
    </div>
    <div class="am-modal-bd">
      <iframe scrolling="no" allowtransparency="true" id="pay-iframe" name="pay-iframe" src="" style="height:260px;" frameborder="0"></iframe>
    </div>
  </div>
</div> -->
<!-- <div class="am-dimmer am-active" style="display:none;"></div> -->
@endsection